package com.zsrt.java.day20161229.cg.demo04;

public class Person04 {
	private String name;
	private int age;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public  int add(int x, int y){
		return x+y;
	}
	@Override
	public String toString() {
		return "Person04 [name=" + name + ", age=" + age + "]";
	}
	
}
